﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace easyui.Models
{
    public class LoginModel
    {
        public string uid { get; set; }
        [Required(ErrorMessage ="登录名不能为空")]
        public string loginName { get; set; } = "";

        [Required(ErrorMessage = "密码不能为空")]
        public string password { get; set; } = "";
    }
}
